{% extends 'core/panels/panel.html' %}

{% block panel-body %}
<ul class="list-group list-group-flush">
    {% block bugs-list %}
    {% for category in panel.context %}{% if category.category_name %}
    <li class="list-group-item">
        {% with name=category.display_name|default:category.category_name %}
	<span class="list-item-key" title="{{ category.description }}"><b>{{ category.category_name }}:</b></span>
        {% endwith %}
	<span class="label label-default label-pill pull-xs-right">{{ category.bug_count }}</span>
    </li>
    {% endif %}{% endfor %}
    {% endblock %}
</ul>
{% endblock %}
